import os,stat
import sys  
reload(sys)  
sys.setdefaultencoding('utf8')

def get_tid():
	with open(r'tid.txt') as handle:
	    for line in filter(None, handle):
	    	tid = os.path.splitext(line)[0].split('=')[1]
	        return tid


